<html>
    <body>
        <form method="post">
            First name <input type="text" name="Student[FirstName]" value= <?php echo $this->StudentDetail[0]['FirstName'] ?>>
            Last name <input type="text" name="Student[LastName]"value= <?php  echo $this->StudentDetail[0]['LastName'] ?>>
            Class ID <input type="text" name="Student[ClassID]"value= <?php echo $this->StudentDetail[0]['ClassID'] ?>>
            <input type="hidden" name="Student[id]"value= <?php echo $this->StudentDetail[0]['id'] ?>>
            <input type="submit">
        </form>
    </body>
</html> 